Functions to construct and destruct Crono objects.
THE SDK mimic an object-oriented paradigm. A CRONO_H handle is first passed by reference to a constructor, which dynamically allocate all necessary resources, and then by value to all other functions operating on the object. A destructor function frees all resources when not needed any more.
◆ CRONO_Constr()
Constructs a new Crono object.
- Parameters
-
| crono | Pointer to a CRONO_H to contain a new Crono object. |
- Returns
- CRONO_Return
- Examples
- CRONO_SDK_Example.c.
◆ CRONO_Destr()
Frees all resources owned by a Crono handle.
- Parameters
-
| crono | Handle to an existing Crono object. |
- Returns
- CRONO_Return
- Examples
- CRONO_SDK_Example.c.